﻿using IntelligentAgriculture.Contracts.Dto.Input;
using IntelligentAgriculture.Contracts.Dto.Output;
using IntelligentAgriculture.Domain.Entity;
using MediatR;

namespace IntelligentAgriculture.WebAPI.Application.Command.RoleCommand
{
    public class GetRolesCommand : IRequest<Results<PageOutput<Role>>>
    {
        public RoleInput? Input { get; set; }
        public GetRolesCommand(RoleInput input)
        {
            Input = input;
        }
    }
}